<?php
/*
 * View ung vien's login form
 */
?>

<div class="jb_left">
    
        <?php
            $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
                    'id'=>'ungvienloginform',
                    'action' => Yii::app()->baseUrl.'/ungvien/login.html',
                    'enableClientValidation' => true,
                        'clientOptions' => array(
                            'validateOnSubmit' => true,
                        ),
                )); ?>
        <p class="job_title_common">
            <strong><span>Dành cho ứng viên</span></strong></p>
        <div class="cont_jb_left">
            <ul>
                <li class="w1">
                    <?php echo $form->textFieldRow($ungvien, 'tendangnhap',array('placeholder' => 'Tên đăng nhập','class' => 'txt_tk ac_input')); ?>
                </li>
                <li class="w1">
                    <?php echo $form->passwordFieldRow($ungvien, 'matkhau',array('placeholder' => 'Mật khẩu','class' => 'txt_tk ac_input')); ?>
                </li>
            </ul>
            <span class="s_right">
                <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'label'=>'Đăng nhập', 'htmlOptions' => array('class' => 'btn btn-small btn-primary'))); ?>
            </span>
            <div style='clear:both;'></div>
            <span class="s_left"><a href="#">Quên mật khẩu ?</a></span>
            <span class="link_dk"><a href="<?php echo Yii::app()->getBaseUrl(true); ?>/ungvien/dangky">Đăng ký thành viên mới</a></span>
        </div>
        <?php $this->endWidget(); ?>
   <div class="bot_jb_left"></div>
</div>